package com.cskaoyan.bean.vo.weixin_zyl_VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class Weixin_zyl_index_Vo {
    @JsonProperty("errno")
    private Integer errno;
    @JsonProperty("data")
    private DataDTO data;
    @JsonProperty("errmsg")
    private String errmsg;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("cartTotal")
        private CartTotalDTO cartTotal;
        @JsonProperty("cartList")
        private List<?> cartList;

        @NoArgsConstructor
        @Data
        public static class CartTotalDTO {
            @JsonProperty("goodsCount")
            private Integer goodsCount;
            @JsonProperty("checkedGoodsCount")
            private Integer checkedGoodsCount;
            @JsonProperty("goodsAmount")
            private Integer goodsAmount;
            @JsonProperty("checkedGoodsAmount")
            private Integer checkedGoodsAmount;
        }
    }
}
